<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<jsp:include page="../../common/jsp/taglibs.jsp"/>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=2.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>修改密码</title>
    <jsp:include page="../../common/jsp/head.jsp"/>
    <link href="${ctx}css/public.css" rel="stylesheet" type="text/css"/>
</head>
<body>
    <br />
    <br />
    <form class="layui-form">
        <input id="userId" type="hidden" value='<s:property value="user.id"/>'>
        <table class="layui-table">
            <tr>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label">登录名</label>
                        <div class="layui-input-block " style="padding-top: 9px;">
                            <s:property value="user.loginName" />
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label">原密码</label>
                        <div class="layui-input-block">
                            <input type="password" lay-verify="verifyOldPass" autocomplete="off" class="layui-input"
                                   placeholder="请输入登录密码" id="oldPass" onBlur="oldPassBlur()" size="18" >
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label">新密码</label>
                        <div class="layui-input-block">
                            <input type="password" lay-verify="verifyNewPass" autocomplete="off" class="layui-input"
                                   placeholder="请输入新密码，长度为6-18位" id="newPass" onFocus="newPassFocus()" size="18" >
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label">确认密码</label>
                        <div class="layui-input-block">
                            <input type="password" lay-verify="verifyNewConPass" autocomplete="off" class="layui-input"
                                   placeholder="请输入确认密码，长度为6-18位" id="newConPass" size="18" >
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td style="text-align: center;">
                    <div class="layui-input-block" style="margin-left:3px;">
                        <a id="submit" style="width:150px;" class="layui-btn" lay-submit="" lay-filter="submitButton">提交</a>
                    </div>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
<script type="text/javascript" src="${ctx}js/user/updatePwd.js?version=${version}"></script>